package com.framework.service;

import com.baomidou.mybatisplus.service.IService;
import com.framework.entity.sys.SysUploadExcel;
import com.framework.page.PageUtils;

import java.util.Map;

/**
 * 上传excel的业务接口
 * @author wq
 */
public interface SysUploadExcelService extends IService<SysUploadExcel> {
    /**
     * 分页查询
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 保存
     * @param sysUploadExcel
     */
    void save(SysUploadExcel sysUploadExcel);

    /**
     * 修改
     * @param sysUploadExcel
     */
    void modify(SysUploadExcel sysUploadExcel);

    /**
     * 获取模板
     * @param templateType
     * @param deptId
     * @return
     */
    String  getTemplate(Integer templateType, Long deptId);
}
